<?php 
include_once("../../../configuracion/config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantillaAdmin.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Nuevo tipo tesis</title>
<!-- InstanceEndEditable -->
<link rel="stylesheet" type="text/css" href="../../css/estilo.css"/>
<link rel="SHORTCUT ICON" href="../../../logo/unc.ico"/>
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript" src="../../js/mootools.js"></script>
<script type="text/javascript" src="../../js/fValidator-full.js"></script>
<script>
 window.addEvent('domready', function(){
			 var myValidator = new fValidator("ftesisTipo");
			 $('ftesisTipo').addEvent('submit', function(e) {
				/**
				 * Prevent the submit event
				 */
				new Event(e).stop();
			
				/**
				 * This empties the log and shows the spinning indicator
				 */
				 //esta condicion debe ser agregada para que el formulario solo sea submitido si las restricciones de  los campos se cumple
					if(myValidator.result){ /*Si las restricciones de los campos se cumplen*/
						var log = $('tipos').empty().addClass('ajax-loading');
					
						/**
						 * send takes care of encoding and returns the Ajax instance.
						 * onComplete removes the spinner from the log.
						 */
						this.send({
							update: log,
							onComplete: function() {
								log.removeClass('ajax-loading');
							}
						});
				}
			});
		}); 



</script>
<!-- InstanceEndEditable -->

</head>

<body>

<?php include('../estructura/encabezado.php');?>
<div class="menuIzqquierdo">

<?php include('../menu/menuIzq.html');?>

</div>
<div class="content"><!-- InstanceBeginEditable name="EditRegion3" --><div id="ajax_bar">
<h2>Tipo Tesis </h2>
	<form id="ftesisTipo" action="ajax.form/tipoTesis_add.php"   method="get" name="ftesisTipo">
	<?php include_once("in_tipoTesis.php"); ?>
	 <input id="guardar" class="right fValidator-form" type="submit" value="Nuevo Tipo " name="guardar"/>	
    
	 </form>
</div>
<div id="info">

		<div id="tipos"><!-- spanner --><?php include_once("../../info/tipoTesis.php");?></div>
</div>
<!-- InstanceEndEditable --></div>
<?php include('../estructura/pie.php');?>
</body>
<!-- InstanceEnd --></html>
 